Start Model Execution
The Start Execution endpoint allows you to automate the execution of a model run.
In the POST
request, you can enter parameter values to control the configuration of a model run, for example, which suite of snippets to run. You must specify the:
model_id
for an exploratory run, which is useful when you're building a model.model_id
andtest_case_id
for a fully-configured model. If you start a run with only these two parameters, the model runs without connecting to any Eggplant Functional scripts and only generates a path through the model.
ノート
If you want to connect to an Eggplant Functional suite, you must use the agent to establish that connection, and give values for the parameters in the agent
object.
Method
POST -> http://localhost:8000/execution_service/api/v1/executions
You can also explore the Start Execution endpoint in Swagger:
http://localhost:8000/execution_service/docs#/Execution/start_execution_execution_service_api_v1_executions_post
Headers
Name | Value |
---|---|
Authorization | bearer <access_token> |
Content-Type | application/json |